1 link tagged with all of: context api + retrieval + perplexity context api + api
Click any tag below to further narrow down your results
Links
Perplexity's new Context API lets AI agents pull up to 10 web pages at once and get back clean Markdown, HTML, links, and query-matched passages instead of raw HTML full of ads and navigation. Developers can control how fresh the content must be, from cached copies to live fetches.
- Returns clean Markdown with boilerplate like cookie banners, navigation, and ads stripped out, and can return only passages relevant to a query, so the model processes less text.
- Freshness is adjustable: by default it uses a cached copy from the last two days, but max_age_seconds set to 0 forces a live read, and cache_only prevents live requests entirely.
- In Perplexity's own evaluation, 92.3% of URLs returned usable content, 87.9% of key facts were recovered, and content precision was 80.3%.